﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IRQQ.CSharp
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //1 可以做配置文件
            //2 可以启动方法
            //3 可以设置属性 等等
        }
        private void FormMain_Load(object sender, EventArgs e)
        {

        }
        public void AddLog(string msg)
        {
            this.textBox1.AppendText(msg + "\r\n");
        }

        private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            this.Hide();
        }
    }
}
